<template>
  <div style="background-color: #f8f8f8;padding: 20px 0">
    <div class="middle">
      <el-row class="tac">
        <div class="el-col-4 navigation">
          <div class="navigation-context">
            <dl>
              <dt style="padding-top: 14px">
                <router-link active-class="active" :to="{path:'/member/index'}">
                  <i class="el-icon-user"></i>
                  <span>会员中心</span>
                </router-link>
              </dt>
            </dl>
            <dl>
              <dt>
                <i class="el-icon-tickets"></i>
                <span>订单信息</span>
              </dt>
              <dd>
                <router-link to="/member/myOrder">我的订单</router-link><br>
                <!-- <router-link to="/member/myOrder">历史订单</router-link><br> -->
              </dd>
            </dl>
            <dl>
              <dt>
                <i class="el-icon-receiving"></i>
                <span>个人信息</span>
              </dt>
              <dd>
                <router-link to="/member/changePaw">修改密码</router-link><br>
                <router-link to="/member/changeInformation">修改信息</router-link><br>
                <router-link to="/member/address">收货地址</router-link><br>
              </dd>
            </dl>
            <dl>
              <dt>
                <i class="el-icon-star-off"></i>
                <span>我的收藏</span>
              </dt>
              <dd>
                <router-link to="/member/goodsCollection">商品收藏</router-link><br>
                <!-- <router-link to="/member/shopCollection">店铺收藏</router-link><br> -->
              </dd>
            </dl>
            <!-- <dl>
              <dt>
                <i class="el-icon-service"></i>
                <span>我的售后</span>
              </dt>
              <dd>
                <router-link to="/member/afterSales">我的售后</router-link><br>
              </dd>
            </dl> -->
          </div>
        </div>
        <div class="el-col-20 show">
          <div class="show-context">
            <router-view></router-view>
          </div>
        </div>
      </el-row>
    </div>
  </div>
</template>

<script>
  export default {
    name: "member",
    setup(){
    }
  }
</script>

<style scoped>
  body{
    color: #333;
    font-size: 13px;
  }
  a{
    text-decoration: none;
  }
  .middle{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
  .tac{
    width: 1350px;
    margin: 0 auto;
  }
  .navigation{
    margin-top: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .navigation-context{
    background-color: #fff;
    padding-bottom: 1px;
  }
  .navigation-context dl{
    line-height: 37px;
    padding-left: 20px;
    font-size: 15px;
    border-bottom: 1px #f8f8f8 solid;
  }
  .navigation-context dl dt a{
    color: #409EFF;
  }
  .navigation-context dl dd a{
    font-size: 13px;
    line-height: 32px;
    margin-left: -20px;
    color: #333;
  }
  .navigation-context dl dt a:hover,.navigation-context dl dd a:hover{
    color: #409EFF;
  }
  .navigation-context dl dt a:focus,.navigation-context dl dd a:focus{
    color: #409EFF;
  }

  .show{
    padding-left: 10px;
    padding-right: 10px;
  }
  .show-context{
    margin-top: 4px;
  }
</style>